package org.nmgyjt.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.nmgyjt.springboot.entity.admin.CsBusinessUserCode;

public interface CsBusinessUserCodeMapper extends BaseMapper<CsBusinessUserCode> {

    CsBusinessUserCode findByPhoneOrAuthCode(@Param("phone") String phone,
                                             @Param("authCode") String authCode,
                                             @Param("businessId") String businessId);


//    CsBusinessUserCode findByPhoneOrBusId(@Param("phone") String phone,@Param("businessId") String businessId);
}
